package com.jarvan.enums;

import lombok.Getter;

@Getter
public enum TicketEnum {
    NEW(0, "新订单"),
    FINISH(1, "已完成"),
    CANCEL(2, "已取消"),
    ;

    private final Integer code;
    private final String message;

    TicketEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
